<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>资产借出</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
    <link rel="stylesheet" href="../../css/iconfont.css">
    <link rel="stylesheet" href="../../css/base.css">
    <script src="../../js/jquery-1.11.0.js"></script>
    <script src="../../layui/layui.js"></script>
    <script src="../../js/frameAll.js"></script>
    <style>
        .layui-form {
            margin-top: 30px;
            margin-right: 50px;
        }
    </style>
    <script type="text/javascript">
        function getInfo() {
            return {
                zcId: $("input[name=zcId]").val(),
                sender: $("input[name=sender]").val(),
                reason: $("input[name=reason]").val(),
            };
        }
        function setInfo(info) {
            layui.use('form', function () {
                var form = layui.form;
                form.val('infoForm', {
                    zcName: info.zcName,
                    zcId: info.zcId,
                });
            });
        }
    </script>
</head>
<body>
<div class="cBody">
    <form class="layui-form" lay-filter="infoForm">
        <div class="layui-form-item">
            <label class="layui-form-label">资产名 : </label>
            <div class="layui-input-inline shortInput">
                <input type="text" name="zcName" autocomplete="off" class="layui-input"
                       readOnly="true" style="border:none">
                <input type="hidden" name="zcId">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">送修人 : </label>
            <div class="layui-input-inline shortInput">
                <input type="text" name="sender" autocomplete="off" class="layui-input"
                       placeholder="请输入送修人" lay-verify="required">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">送修原因 : </label>
            <div class="layui-input-inline shortInput">
                <input type="text" name="reason" autocomplete="off" class="layui-input"
                       placeholder="请输入送修原因">
            </div>
        </div>
    </form>
</div>
</body>
</html>